package com.jnc.core.base.model;

import com.jnc.common.base.BaseReq;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.Date;

@Setter
@Getter
public class Role extends BaseReq {
    private static final long serialVersionUID = 1L;

    private Integer roleId;

    private String roleCode;

    private String roleName;

    private String remark;

    private Date updateTime;

    private Date createTime;

    private String menuIds;  //菜单组

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("roleId", roleId)
                .append("roleCode", roleCode)
                .append("roleName", roleName)
                .append("remark", remark)
                .append("updateTime", updateTime)
                .append("createTime", createTime)
                .toString();
    }
}